package com.tanjie.blackbean.pojo.auth;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Builder;
import lombok.Data;

/**
 * @author: tanjie
 * @date: 2021-12-14
 **/
@Data
@Builder
@Schema(description = "登录成功认证信息")
public class AuthInfo {

    @Schema(description = "token令牌")
    private String accessToken;

    @Schema(description = "刷新token令牌")
    private String refreshToken;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "过期时间戳")
    private long expiresIn;

}
